[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 VER() (INTEGER)

 Function
  Get the version of PPL available.

 Syntax
  VER()   No arguments are required

 Return Type & Value
  INTEGER
  Returns the version number of PPL running.

 Remarks
  As time passes, new features will be added to PCBoard and PPL.  Of course,
  in order to utilize the new features, you must be running a version of
  PCBoard that supports them.  This function will return the version of
  PCBoard (and PPL).  For PCBoard version 15.0 this value will be 1500.  In
  other words, the major version will be accessable via VER()/100, and the
  minor version will be available via VER()%100.  Everything documented
  herein will be available for all versions greater than or equal to 1500.
  Future PPL features will be documented with the required version.

 Examples
  IF (VER() < 1600) THEN
    PRINTLN "PCBoard Version 16.0 required for this PPE file"
    END
  ENDIF
  FOO a,b,c,d,e ' Obviously, this is not a 15.0 statement

See Also:
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson